The Panel Setup Structure
The panel setup structure, of data typegxPanelSetupRecord
, is passed to theGXSetupDialogPanel
function when the user displays a dialog box.
struct gxPanelSetupRecord { gxPrintingPanelKind panelKind; short panelResId; short resourceRefNum; void *refCon; }; typedef struct gxPanelSetupRecord gxPanelSetupRecord;
Field Description
panelKind
- The kind of program that is using this panel. This value is one of the constants defined in the printing panel kinds enumeration, which is described in the next section.
panelResId
- The resource ID of the panel (
'ppnl'
) resource for the dialog box panel.resourceRefNum
- The resource file reference number for the panel.
refCon
- A reference constant for use by the creator of the panel.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help